package com.xudu.controller;

import com.xudu.common.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ClassName: IGreadController
 * Description:
 *
 * @Author xudu
 * @Create 2024/4/25
 */
@RequestMapping("/gread")
public interface IStudentScoreController {

    @GetMapping("getAverageGrade")
    Result getAverageGrade(String subject);
    @GetMapping("/sum")
    Result calculateScores();
}
